#!/bin/bash

if [ -z $1 ]; then
    echo $0 "<APP ID>"
    exit 1
fi

mvn archetype:generate \
    -DgroupId=com.leozhang.app \
    -DartifactId=$1 \
    -DarchetypeArtifactId=maven-archetype-quickstart \
    -DarchetypeVersion=1.4 \
    -DinteractiveMode=false
